how to make a custom linetype